IHipTilemap

Tilemap is a set of tile layers. It contains information on the maximum map size, holds all the tilesets needed for actually drawing the layers.

Alias This

layers

Members

Functions

addNewLayer
HipTileLayer addNewLayer(string layerName, uint columns, uint rows)

Use it when programatically creating your tilemap

addTileset
void addTileset(IHipTileset tileset)

Use it when programatically creating your tilemap

color
HipColor color()
Undocumented in source.
getTextureRegionForID
IHipTextureRegion getTextureRegionForID(ushort id)
Undocumented in source. Be warned that the author may not have intended to support it.
getTileForID
Tile* getTileForID(ushort id)
Undocumented in source. Be warned that the author may not have intended to support it.
getTilesetForID
IHipTileset getTilesetForID(ushort id)
Undocumented in source.
height
uint height()
Undocumented in source.
isInfinite
bool isInfinite()
Undocumented in source.
layers
HipTileLayer[string] layers()
Undocumented in source.
orientation
string orientation()
Undocumented in source.
path
string path()
Undocumented in source.
renderorder
string renderorder()
Undocumented in source.
rotation
float rotation()
Undocumented in source.
scale
float scale()

Returns scaleX as the one to be modified.

scale
float scale(float v)

Modifies both scaleX and scaleY at the same time.

scaleX
float scaleX()
Undocumented in source.
scaleY
float scaleY()
Undocumented in source.
setTileSize
void setTileSize(uint tileWidth, uint tileHeight)
Undocumented in source.
tileHeight
uint tileHeight()
Undocumented in source.
tileHeightScaled
uint tileHeightScaled()
Undocumented in source. Be warned that the author may not have intended to support it.
tileWidth
uint tileWidth()
Undocumented in source.
tileWidthScaled
uint tileWidthScaled()
Undocumented in source. Be warned that the author may not have intended to support it.
tiled_version
string tiled_version()
Undocumented in source.
width
uint width()
Undocumented in source.
x
int x()
Undocumented in source.
y
int y()
Undocumented in source.

Meta